package org.jeecg.modules.activities.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.activities.entity.FhChallenroll;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 挑战报名
 * @Author: jeecg-boot
 * @Date:   2024-07-16
 * @Version: V1.0
 */
public interface IFhChallenrollService extends IService<FhChallenroll> {

    /**
     * 通过userId查询数据
     *
     * @param userId 主表id
     * @return List<FhChallenroll>
     */
    public List<FhChallenroll> selectByUser(String userId);

    public List<FhChallenroll> selectjhPage(String userId,Page<FhChallenroll> page, Wrapper<FhChallenroll> wrapper);
}


